package cn.dkk.create_design.prototype.shallow_clone_prototype.specific;

public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Certificate instance = Certificate.CertificateFactory.getInstance();
        Object clone1 = instance.clone("二狗");
        Object clone2 = instance.clone("dkk");
        System.out.println(clone1==clone2);
        System.out.println("---------------------------");
        System.out.println(clone1);
        System.out.println("---------------------------");
        System.out.println(clone2);
    }
}
